Skip to main content

Table

Type

widget

Description

Table widgets allow you to display sets of data. Tables display information in a way that is easy to scan, so users can look for patterns and information.

Children Properties

Property

NameSummarySyntax
usePaginationDefines if pagination is used in the table.get the usePagination of <widget> set the usePagination of <widget> to {true | false}
fillEmptyRowsSet to true to fill with empty rows.get the fillEmptyRows of <widget> set the fillEmptyRows of <widget> to {true | false}
hTableGridDefines if the horizontal lines are shown.get the hTableGrid of <widget> set the hTableGrid of <widget> to {true | false}
columnTypeReturns the data type of the column.get the columnType[index] of <widget> set the columnType[index] of <widget> to {text|svg-LCname|imageData|imageFile|color|boolean|autoIncrement}
editableColumnDefines if the user can edit the cells of this column.get the editableColumn[pColumnNumber] of <widget> set the editableColumn[pColumnNumber] of <widget> to {true | false}
columnLabelsSpecifies the text to show on top of columns. Examples:set the columnLabels of widget "Table" to "Product,Icon,Description"get the columnLabels of <widget> set the columnLabels of <widget> to <"CommaDelimitedList">
rowHeightSet the height of rows.get the rowHeight of <widget> set the rowHeight of <widget> to <integer>
headerDividersSet to true to show header dividers.get the headerDividers of <widget> set the headerDividers of <widget> to {true | false}
headerTextStyleThis property creates a lift effect on the z axis.get the headerTextStyle of <widget> set the headerTextStyle of <widget> to {plain|bold|italic|bold,italic}
alternateRowColorsDefines whether to use alternate row colors.get the alternateRowColors of <widget> set the alternateRowColors of <widget> to {true | false}
sortByColumnDefine the number of the column by which the data in the table is sorted.get the sortByColumn of <widget> set the sortByColumn of <widget> to <integer>
tableLineSizeSpecifies the thickness with which the inner lines and borders of the Table are drawn.get the tableLineSize of <widget> set the tableLineSize of <widget> to <integer>
rowsPerPageOptionsCustomizes the options of the rows per page select field. Examples:set the rowsPerPageOptions of widget "table" to 10 & cr & 15 & cr & -1, "All"get the rowsPerPageOptions of <widget> set the rowsPerPageOptions of <widget> to <string>
labelThe label of the tableget the label of <widget> set the label of <widget> to <string>
vTableGridDefines if the vertical lines are shown.get the vTableGrid of <widget> set the vTableGrid of <widget> to {true | false}
rowsNumberGets the total number of rows in the tableget the rowsNumber of <widget>
dataArrayGet or set the data array that the Table will display.get the dataArray of <widget> set the dataArray of <widget> to <pDataArray>
rowAlternateColorSpecifies the fill color of alternate rows when property is true.get the rowAlternateColor of <widget> set the rowAlternateColor of <widget> to <RGBA Color>
pagesNumberThe total number of pages the table has.get the pagesNumber of <widget>
headerTextColorSpecifies the color of the table header text.get the headerTextColor of <widget> set the headerTextColor of <widget> to <RGB Color>
showHeaderSpecifies if the Table widget will show the column headerget the showHeader of <widget> set the showHeader of <widget> to {true | false}
tablePaddingSpecifies the padding that the table cells will have.get the tablePadding of <widget> set the tablePadding of <widget> to <integer>
rowColorSpecifies the fill color of rows.get the rowColor of <widget> set the rowColor of <widget> to <RGBA Color>
tablePageThe current page number of the table when paging is used.get the tablePage of <widget> set the tablePage of <widget> to <integer>
roundedRadiusThe radius of the corners of the widget.get the roundedRadius of widget set the roundedRadius of widget to <integer>
rowsPerPageDefines the number of rows per page.get the rowsPerPage of <widget> set the rowsPerPage of <widget> to {<integer>}
tableTextSpecify the data that will be displayed in the table.set the tableText of <widget> to <theText>
headerLineColorSets the color of the table column header dividers.get the headerLineColor of <widget> set the headerLineColor of <widget> to <RGBA Color>
fixedFirstColDefines if the first column stays fixed when scrolling horizontally.get the fixedFirstCol of <widget> set the fixedFirstCol of <widget> to {true | false}
hilitedRowsSpecifies the line(s) that will be hilited on a Table control. Examples:set the hilitedRow of widget "table" to "1,2,9"get the hilitedRows of <widget> set the hilitedRows of <widget> to {<Number>|<List>}
columnSortTypeThe column sort type.get the columnSortType[index] of <widget> set the columnSortType[index] of <widget> to {none|international|numeric|dateTime|text|binary}
showLabelWhether or not to display a label for the table.set the showLabel of <widget> to {true|false} get the showLabel of <widget>
tableHScrollBarControls the visibility of the table's horizontal scrollbar.get the tableHScrollBar of <widget> set the tableHScrollBar of <widget> to <{"on" | "off" | "auto"}>
themeDataThe theme mappings of this widgetset the themeData of <widget> to {<array>} get the themeData of <widget>
multiHiliteSpecifies if the table widget will allow to select more than one row at the same timeget the multiHilite of <widget> set the multiHilite of <widget> to {true | false}
headerColorDefines the background color of the table column header.get the headerColor of <widget> set the headerColor of <widget> to <RGBA Color>
deleteColumnByNumberDelete a column by index. Examples:set the deleteColumnByNumber of widget "table" to 4set the deleteColumnByNumber of <widget> to {true | false}
columnNamesSpecifies the names of columns. Examples:set the columnNames of widget "Table" to "Product,Icon,Description"get the columnNames of <widget> set the columnNames of <widget> to <Comma-Delimited-List>
autoHilitedSpecifies if the table widget will respond to mouse eventsget the autoHilited of <widget> set the autoHilited of <widget> to {true | false}
headerHeightSet the height of columns header.get the headerHeight of <widget> set the headerHeight of <widget> to <integer>
searchShow or not the search field.set the search of <widget> to {true|false} get the search of <widget>
headerTextSizeThe headerTextSize of a Table defines the height of the text of its header.get the headerTextSize of <widget> set the headerTextSize of <widget> to <integer>
hilitedTextColorThe color used to draw the text and icons in the table when they are highlighted.get the hilitedTextColor of <widget> set the hilitedTextColor of <widget> to <RGBA Color>
tableVScrollBarControls the visibility of the table's vertical scrollbar.get the tableVScrollBar of <widget> set the tableVScrollBar of <widget> to <{"on" | "off" | "auto"}>
touchScrollingSpecifies if the table widget will respond to mouse scrolling gesturesget the touchScrolling of <widget> set the touchScrolling of <widget> to {true | false}
TableColumnsGet or set the data array that the Table uses to build columns.get the TableColumns of <widget> set the TableColumns of <widget> to <columnsArray>
columnWidthsSpecifies the width for each column. Examples:set the columnWidths of widget "Table" to "200,100,300"get the columnWidths of <widget> set the columnWidths of <widget> to <integer>
mouseHoverHiliteSelects the mouse row when the mouse is movedget the mouseHoverHilite of <widget> set the mouseHoverHilite of <widget> to {true | false}

Message

NameSummarySyntax
pageChangedThis message is triggered when the page is changed.pageChanged <pPage>, <pPreviousPage>
headerClickThis message is sent when the table header is clicked.headerClick <pColumnNumber>
columnBeginResizeThis message is sent when a column resize is initiated.columnBeginResize <pColumnNumber>
columnEndResizeThis message is sent when a column is finished resizing.columnEndResize <pColumnNumber>
cellDoubleClicksent when the mouse button is released at the end of a double-click on the same cell.columnEndResize <pColumnNumber>, <pRowNumber>, <pCellRect>
contentChangeSent when the content of the table is modified.contentChange